package com.suray.system.run.data.mysql.device.task;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suray.system.run.data.mysql.device.entity.ExecTaskDB;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface ExecTaskDBMapper extends BaseMapper<ExecTaskDB> {
    Integer calcTaskNumByTaskType(@Param("series") String series, @Param("exec_time") Date exec_time,
                                  @Param("end_time") Date end_time, @Param("task_type") Integer task_type);
}
